#include <time.h>
#include <stdio.h>
#include <string.h>
int main () {
    time_t t = time(NULL);
    char *str = ctime(&t);
    str[strlen(str)-1] = '\0';
    printf ("Content-type: application/xml\n\r\n");
    printf("<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\n");
    printf("<date>\n");
    printf("\t<string>%s</string>\n",  str);
    printf("\t<epoch>%d</epoch>\n", t);
    printf("</date>\n");
  return 0;
}
